From: Francesco Potortì Date: Tue, 4 Mar 2003 14:43:03 +0000 (+0000) Subject: (vhdl-comment-uncomment-region): Remove two comment characters at start X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~53089 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e3c46ed6472a0a41bbe9a1cf478299dfca83bd7b;p=emacs.git (vhdl-comment-uncomment-region): Remove two comment characters at start of line instead of one. --- diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 9827ad3696e..f11b04d8fe5 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el @@ -7568,7 +7568,7 @@ If starting after end-comment-column, start a new line." (beginning-of-line) (setq beg (point)) (if (looking-at comment-start) - (comment-region beg end -1) + (comment-region beg end -2) (comment-region beg end)))) (defun vhdl-comment-uncomment-line (&optional arg)